﻿using System.IO;
using XamlDev.ServiceLocatorPattern.ServiceInterface;

namespace XamlDev.ServiceLocatorPattern.Client.Basic
{
    public class LogBasic : ILog
    {
        public void Log(string text)
        {
            StreamWriter streamWriter = new StreamWriter("mylog.txt", true);
            using (streamWriter)
                streamWriter.WriteLine("Basic log: " + text);
        }
    }
}